package com.atmilan.quartz.model.entity.crmeb;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 商户商品
 * @Description: 
 * @author daigb
 * @date 2021-04-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("eb_store_product_mer")
@ApiModel(value="merchantStoreProduct对象", description="商户商品表")
public class StoreProductMer implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    
    /**
     * 商品id
     */
    @ApiModelProperty(value = "商品id")
    private Integer productId;
    
    /**
     * 小编推荐
     */
    @ApiModelProperty(value = "小编推荐")
    private Boolean isBest;
    
    /**
     * 推荐时间
     */
    @ApiModelProperty(value = "推荐时间")
    private Date bestTime;
    
    /**
     * 是否下架
     */
    @ApiModelProperty(value = "是否下架")
    private Integer isNotShow;
    
    /**
     * 是否系统下架
     */
    @ApiModelProperty(value = "是否系统下架")
    private Integer isSystemOut;
    
    /**
     * 金额
     */
    @ApiModelProperty(value = "金额")
    private BigDecimal price;
    
    /**
     * 金额
     */
    @ApiModelProperty(value = "金额类型 1: 固定价格 2: 加价")
    private Integer priceType;
    
    /**
     * 商品推荐图
     */
    @ApiModelProperty(value = "商品推荐图")
    private String recommendImg;
    
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "添加时间")
    private Date createTime;

    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "预计发货天数")
    private Integer deliveryData;

    @ApiModelProperty(value = "最快到货天数")
    private Integer earliestArrivalData;

    @ApiModelProperty(value = "最慢到货天数")
    private Integer slowestArrivalData;
    
}
